package com.slmxz.tms.document.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.slmxz.tms.common.base.BaseEntity;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 业务类型实体对象
 * @author sunyao
 * @Date 2024-11-15
 */
@Getter
@Setter
@TableName("tbl_business")
public class Business extends BaseEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 业务名称
     */
    private String name;
    /**
     * 备注
     */
    @Size(max=500, message="备注长度不能超过500个字符")
    private String remark;

    private Integer isDeleted = 0;

}
